package tablet.module_user.bean;

public class BaseLoginBean {

    /**
     * code : 200
     * obj : {"total":107114,"platform_teacher":0,"phone":"18380468824","user_id":167,"identity":2,"name":"学员183****8824","photo_url":"http://cdn.xuesituedu.com/Fngk1BkEgJgqtD7DFXrDIJ7zCLdD","whether_to_buy":1,"first_login":0,"package_content":{"set_meal_name":"套餐2","set_meal_price":2980,"number_classes":200,"gift_times":50,"rabbit_coin":0},"token":"eyJhbGciOiJIUzI1NiJ9.eyJ0b3RhbCI6IjEwNzExNC4wMCIsInVzZXJfaWQiOiIxNjciLCJwaG9uZSI6IjE4MzgwNDY4ODI0IiwiZ3JhZGVfaWQiOiIyIiwiaWRlbnRpdHkiOiIyIiwiaXNzIjoic3lzX3VzZXIiLCJuYW1lIjoi5a2m5ZGYMTgzKioqKjg4MjQiLCJwaG90b191cmwiOiJodHRwOi8vY2RuLnh1ZXNpdHVlZHUuY29tL0ZuZ2sxQmtFZ0pncXREN0RGWHJESUo3ekNMZEQiLCJleHAiOjE2MDQ5OTAzMjF9.bL7Du3646G4-gy_jKJh_XM6c7rpZpNtNHwknczjdl8A"}
     * msg : 登录注册成功
     * seccess : true
     */

    private int code;
    private ObjBean obj;
    private String msg;
    private boolean seccess;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSeccess() {
        return seccess;
    }

    public void setSeccess(boolean seccess) {
        this.seccess = seccess;
    }

    public static class ObjBean {
        /**
         * total : 107114
         * platform_teacher : 0
         * phone : 18380468824
         * user_id : 167
         * identity : 2
         * name : 学员183****8824
         * photo_url : http://cdn.xuesituedu.com/Fngk1BkEgJgqtD7DFXrDIJ7zCLdD
         * whether_to_buy : 1
         * first_login : 0
         * package_content : {"set_meal_name":"套餐2","set_meal_price":2980,"number_classes":200,"gift_times":50,"rabbit_coin":0}
         * token : eyJhbGciOiJIUzI1NiJ9.eyJ0b3RhbCI6IjEwNzExNC4wMCIsInVzZXJfaWQiOiIxNjciLCJwaG9uZSI6IjE4MzgwNDY4ODI0IiwiZ3JhZGVfaWQiOiIyIiwiaWRlbnRpdHkiOiIyIiwiaXNzIjoic3lzX3VzZXIiLCJuYW1lIjoi5a2m5ZGYMTgzKioqKjg4MjQiLCJwaG90b191cmwiOiJodHRwOi8vY2RuLnh1ZXNpdHVlZHUuY29tL0ZuZ2sxQmtFZ0pncXREN0RGWHJESUo3ekNMZEQiLCJleHAiOjE2MDQ5OTAzMjF9.bL7Du3646G4-gy_jKJh_XM6c7rpZpNtNHwknczjdl8A
         */

        private Double total;
        private int platform_teacher;
        private String phone;
        private int user_id;
        private String identity;
        private String name;
        private String photo_url;
        private int whether_to_buy;
        private int first_login;
        private PackageContentBean package_content;
        private String token;

        public Double getTotal() {
            return total;
        }

        public void setTotal(Double total) {
            this.total = total;
        }

        public int getPlatform_teacher() {
            return platform_teacher;
        }

        public void setPlatform_teacher(int platform_teacher) {
            this.platform_teacher = platform_teacher;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getIdentity() {
            return identity;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhoto_url() {
            return photo_url;
        }

        public void setPhoto_url(String photo_url) {
            this.photo_url = photo_url;
        }

        public int getWhether_to_buy() {
            return whether_to_buy;
        }

        public void setWhether_to_buy(int whether_to_buy) {
            this.whether_to_buy = whether_to_buy;
        }

        public int getFirst_login() {
            return first_login;
        }

        public void setFirst_login(int first_login) {
            this.first_login = first_login;
        }

        public PackageContentBean getPackage_content() {
            return package_content;
        }

        public void setPackage_content(PackageContentBean package_content) {
            this.package_content = package_content;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class PackageContentBean {
            /**
             * set_meal_name : 套餐2
             * set_meal_price : 2980
             * number_classes : 200
             * gift_times : 50
             * rabbit_coin : 0
             */

            private String set_meal_name;
            private int set_meal_price;
            private int number_classes;
            private int gift_times;
            private int rabbit_coin;

            public String getSet_meal_name() {
                return set_meal_name;
            }

            public void setSet_meal_name(String set_meal_name) {
                this.set_meal_name = set_meal_name;
            }

            public int getSet_meal_price() {
                return set_meal_price;
            }

            public void setSet_meal_price(int set_meal_price) {
                this.set_meal_price = set_meal_price;
            }

            public int getNumber_classes() {
                return number_classes;
            }

            public void setNumber_classes(int number_classes) {
                this.number_classes = number_classes;
            }

            public int getGift_times() {
                return gift_times;
            }

            public void setGift_times(int gift_times) {
                this.gift_times = gift_times;
            }

            public int getRabbit_coin() {
                return rabbit_coin;
            }

            public void setRabbit_coin(int rabbit_coin) {
                this.rabbit_coin = rabbit_coin;
            }
        }
    }
}
